package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sky.wechat")
@Data
public class WeChatProperties {
    private MiniApp miniapp;

    @Data
    public static class MiniApp {
        private String appid;
        private String secret;
        private String loginUrl;
    }
}